package scau.jump.securitytrace.service;

import java.util.List;

import com.securitytrace.model.Product;

public interface ProductService {
	
	public void add(Product product);
	
	public long getTotalCount();
	
	public List<Product> getListByPage(int start, int pageSize);
	
	public boolean exist(long id);
	
	public List<Product> getList();
	
	public Product getById(long id);
	
	public void deleteById(long id);
	
	public void update(Product product);
}
